package com.zxy.ziems.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxy.btp.common.response.PageResult;
import com.zxy.ziems.server.domain.AgreementChannel;
import com.zxy.ziems.server.dto.AgreementChannelDto;
import com.zxy.ziems.server.dto.AgreementChannelQueryDto;
import com.zxy.ziems.server.vo.AgreementChannelVo;

public interface AgreementChannelService extends IService<AgreementChannel> {

    void addOrUpdate(AgreementChannelDto agreementChannelDto);

    void delete(String channelId);

    PageResult<AgreementChannelVo> pageList(AgreementChannelQueryDto agreementChannelQueryDto);

    AgreementChannelVo detail(String channelId);
}
